﻿<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>工步排产参数维护</title>
  <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
  <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
  <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
  <style>
    .inline-block {
      display: inline-block;
    }

    .divLabel {
      margin-bottom: 5px;
    }

    /* 重写下拉框样式 */
    .select {
      width: 200px;
    }

    .combobox-item {
      height: 32px;
    }

    /* 重写下拉框样式 */
    .textbox-text {
      line-height: 22px !important;
      height: 22px !important;
    }

    .window-mask {
      background: #000 !important;
      opacity: 0.60 !important;
    }

    .l-btn-custom {
      height: 24px !important;
    }

    #btnproductContentClear .l-btn-icon-left,
    #btnworkflowContentClear .l-btn-icon-left {
      margin-top: -1px !important;
    }
  </style>
</head>

<body>
  <div style="margin: 0px 1px 0px 0px">
    <div class="panelSection">
      <div class="easyui-panel " title="查询区域" style="padding: 3px; width: 100%"
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
        <div style="margin: 3px 0px 3px 3px">
          <div id="productContent" style="width: 900px;">
          </div>
          <div id="workflowContent">
          </div>
        </div>
      </div>
    </div>
    <div class="panelSection">
      <div class="easyui-panel " title="工序信息" style="padding: 3px; width: 100%"
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
        <div style="margin: 3px 0px 3px 3px">
          <div class="divLabel" style="margin-bottom: 5px; font-weight: bold">
            工序信息
          </div>
          <table id="tbSpec" class="easyui-datagrid" style="width: 100%; height: 300px"
            data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:true">
          </table>
        </div>
      </div>
    </div>

    <div class="panelSection">
      <div class="easyui-panel " title="工艺信息" style="padding: 3px; width: 100%"
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
        <div style="margin: 3px 0px 3px 3px">
          <div>
            <div class="inline-block" style="display: none;">
              <div class="divLabel">工步id:</div>
              <input id="txtStepinfoid" disabled="disabled" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel">温度:</div>
              <input id="txtTemperature" class="easyui-textbox" />
            </div>
            <button id="btnTempSave" class="easyui-linkbutton">
              保存
            </button>
          </div>
        </div>
      </div>
    </div>

    <div class="panelSection">
      <div class="easyui-panel " title="工步信息" style="padding: 3px; width: 100%"
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
        <div style="margin: 3px 0px 3px 3px">
          <div>
            <div class="inline-block" style="display: none;">
              <div class="divLabel">
                工步id:</div>
              <input id="txtStepinfoid" disabled="disabled" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="txtPreparecycle">
                准备时间(分钟/批):</div>
              <input id="txtPreparecycle" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel">
                加工时间(分钟/件):</div>
              <input id="txtMakecycle" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel">
                转运时间(分钟/批):</div>
              <input id="txtTransfercycle" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel">
                转工时间(分钟/批):</div>
              <input id="txtShipcycle" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel">
                装炉/槽量:</div>
              <input id="txtChargingqty" class="easyui-textbox" />
            </div>
            <!-- <div class="inline-block">
              <div class="divLabel">作业人数:</div>
              <input id="txtResourceName" disabled="disabled" class="easyui-textbox" />
            </div>

            <div class="inline-block">
              <div class="divLabel">多机并行:</div>
              <input id="txtResourceName" disabled="disabled" class="easyui-textbox" />
            </div>

            <div class="inline-block">
              <div class="divLabel">备注:</div>
              <input id="txtResourceName" disabled="disabled" class="easyui-textbox" />
            </div> -->
          </div>
          <div>
            <div class="inline-block">
              <div class="divLabel">
                工区:</div>
              <select style='width: 200px; height: 24px' id='selWorkCenter' data-options='editable:false'
                class='easyui-combobox'>
              </select>
            </div>
            <div class="inline-block">
              <div class="divLabel">
                班组:</div>
              <select style='width: 200px; height: 24px' id='selTeam' data-options='editable:false'
                class='easyui-combobox'>
              </select>
            </div>
            <button id="btnAdd" class="easyui-linkbutton" data-options="" style="width: 100px">
              添加
            </button>
            <button id="btnReset" class="easyui-linkbutton" data-options="">
              清除
            </button>
            <button id="btnBatchWCUpdate" class="easyui-linkbutton" data-options=""
              style="margin-left:20px;width:150px">
              批量维护工区班组
            </button>
          </div>
          <div class="divLabel" style="margin-bottom: 5px; font-weight: bold">
            工步信息
          </div>
          <table id="tbSteps" class="easyui-datagrid" style="width: 100%; height: 300px"
            data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:true">
          </table>
        </div>
      </div>
    </div>
    <!-- 工步设备维护 -->
    <div id="resourceDialog" class="easyui-window" title="工步设备维护"
      data-options="minimizable:false,modal:true,collapsible:false,minimizable:false,maximizable:false,closable:true,closed:true,draggable:true"
      style="width: 1120px; height: 580px; padding: 10px; top: 100px;">
      <!-- 对话框表格区 -->
      <div class="panelSection">
        <div class="easyui-panel " title="设备信息" style="padding: 3px 3px 5px; width: 100%"
          data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
          <!-- 左侧表格 -->
          <div style="float: left;">
            <table id="tbStepResources" class="easyui-datagrid" style="width: 500px; height: 446px;"
              data-options="rownumbers:true">
            </table>
            <button class="easyui-linkbutton" id="saveResourceBtn" data-options="" style="margin: 5px;">
              保 存
            </button>
          </div>
          <!-- 中部按钮 -->
          <div style="float: left; width: 90px;">
            <button class="easyui-linkbutton" id="removeResource" data-options="" style="margin: 100px 10px 60px;">
              移除 &gt;&gt;
            </button>
            <button class="easyui-linkbutton" id="addResource" data-options="" style="margin: 0 10px;">
              &lt;&lt; 添加</button>
          </div>
          <!-- 右侧表格 -->
          <div style="float: left;">
            <div style="margin-bottom: 5px;">
              <div class="inline-block">
                <div class="divLabel">
                  设备编码:</div>
                <input id="txtResourceName" class="easyui-textbox" style="width: 170px;" />
              </div>
              <div class="inline-block">
                <div class="divLabel">
                  设备名称:</div>
                <input id="txtResourceDesc" class="easyui-textbox" style="width: 170px;" />
              </div>
              <button class="easyui-linkbutton" id="btnResourceSearch" data-options="">
                查 询</button>
            </div>
            <table id="tbResourceList" class="easyui-datagrid" style="width: 400px; height: 400px;"
              data-options="rownumbers:true">
            </table>
          </div>
        </div>
      </div>
    </div>
    <!-- 工步检测项 -->
    <div id="specCheckPointDialog" class="easyui-window" title="工步检测项查看"
      data-options="minimizable:false,modal:true,collapsible:false,minimizable:false,maximizable:false,closable:true,closed:true,draggable:true"
      style="width: 1020px; height: 500px; padding: 10px; top: 100px;">
      <!-- 对话框表格区 -->
      <div class="panelSection">
        <div class="easyui-panel " title="工步检测项" style="padding: 3px 3px 5px; width: 100%"
          data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
          <table id="tbSpecCheckPoint" class="easyui-datagrid" style="width: 100%; height: 400px;"
            data-options="rownumbers:true">
          </table>
        </div>
      </div>
    </div>
    <div id="specToolsDialog" class="easyui-window" title="工步工装工具查看"
      data-options="minimizable:false,modal:true,collapsible:false,minimizable:false,maximizable:false,closable:true,closed:true,draggable:true"
      style="width: 1020px; height: 500px; padding: 10px; top: 100px;">
      <!-- 对话框表格区 -->
      <div class="panelSection">
        <div class="easyui-panel " title="工步工装工具" style="padding: 3px 3px 5px; width: 100%"
          data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
          <table id="tbSpecTools" class="easyui-datagrid" style="width: 100%; height: 400px;"
            data-options="rownumbers:true">
          </table>
        </div>
      </div>
    </div>
    <div id="specAuxDialog" class="easyui-window" title="工步主辅材查看"
      data-options="minimizable:false,modal:true,collapsible:false,minimizable:false,maximizable:false,closable:true,closed:true,draggable:true"
      style="width: 1020px; height: 500px; padding: 10px; top: 100px;">
      <!-- 对话框表格区 -->
      <div class="panelSection">
        <div class="easyui-panel " title="工步主辅材" style="padding: 3px 3px 5px; width: 100%"
          data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
          <table id="tbStepAuxs" class="easyui-datagrid" style="width: 100%; height: 400px;"
            data-options="rownumbers:true">
          </table>
        </div>
      </div>
    </div>
  </div>
</body>

</html>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/array.pollyfill.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ProductLinkageWorkflow2.js" type="text/javascript"></script>
<script type="text/javascript">
  document.write('<script src="/InSiteWebApplication/Scripts/CustomPageJs/RBStepParameterMaintPage.js?V=' + new Date().getTime() + '" type="text/javascript" ><\/script>');
</script>